﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ChatApp.Core.Info;

namespace ChatApp.Core.Business
{
    public interface IRoleBusiness
    {
        void Insert(RoleInfo pRoleInfo);

        void Update(RoleInfo pRoleInfo);

        void Delete(RoleInfo pRoleInfo);

        IList<RoleInfo> SelectAll();

        RoleInfo SelectByPrimaryId(string pId);

        IList<RoleInfo> SelectByParams(IList<ParameterInfo> pParams);
    }
}
